{
    "resourceType": "Bundle",
    "id": "ExampleBundleStillborn",
    "meta": {
        "profile": [
            "https://fhir.by/AbstractArea/StructureDefinition/Bundle/BundleStillbirth"
        ]
    },
    "identifier": {
        "system": "https://minzdrav.gov.by",
        "value": "12-123456789-2025000000000001"
    },
    "type": "document",
    "timestamp": "2026-02-10T05:35:21Z",
    "entry": [
        {
            "fullUrl": "Composition/ExampleStillbirthComposition",
            "resource": {
                "resourceType": "Composition",
                "id": "ExampleStillbirthComposition",
                "meta": {
                    "lastUpdated": "2026-02-10T05:35:21Z",
                    "profile": [
                        "https://fhir.by/StructureDefinition/StillbirthComposition"
                    ]
                },
                "status": "final",
                "type": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/CompositionType",
                            "code": "stillbirth-conclusion",
                            "display": "Электронное врачебное свидетельство о мертворождении"
                        }
                    ]
                },
                "subject": [
                    {
                        "reference": "Patient/ExampleWomenStillbirthED"
                    }
                ],
                "date": "2026-02-10T05:35:21Z",
                "author": [
                    {
                        "reference": "Practitioner/{{PractitionerId}}"
                    }
                ],
                "title": "Электронное врачебное свидетельство о мертворождении",
                "custodian": {
                    "reference": "Organization/{{OrganizationId}}"
                },
                "event": [
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Provenance/ExampleProvenanceStillborn"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "ClinicalImpression/ExampleStillbirth"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "QuestionnaireResponse/QRMotherSpecialInformation"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisDepression"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisDiabet"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisVeins05"
                                }
                            }
                        ]
                    },
                    {
                        "detail": [
                            {
                                "reference": {
                                    "reference": "Condition/ExampleDiagnosisVeins"
                                }
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "Patient/ExampleWomenStillbirthED",
            "resource": {
                "resourceType": "Patient",
                "id": "ExampleWomenStillbirthED",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/PatientED"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/DocumentKind",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/DigitalDocumentKind",
                                    "code": "03"
                                }
                            ]
                        }
                    }
                ],
                "identifier": [
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/PersonalDocumentType",
                                    "code": "INP"
                                }
                            ]
                        },
                        "value": "7551062A009PB5"
                    }
                ],
                "active": true,
                "name": [
                    {
                        "family": "Аксенова",
                        "given": [
                            "Екатерина",
                            "Юрьевна"
                        ]
                    }
                ],
                "birthDate": "1988-04-20",
                "deceasedDateTime": "2025-05-02T05:35:21Z",
                "link": [
                    {
                        "other": {
                            "reference": "Patient/{{patientId}}"
                        },
                        "type": "refer"
                    }
                ]
            }
        },
        {
            "fullUrl": "Provenance/ExampleProvenanceStillborn",
            "resource": {
                "resourceType": "Provenance",
                "id": "ExampleProvenanceDocumentInfoDeath",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/ProvenanceDocumentInfoDeath"
                    ]
                },
                "target": [
                    {
                        "reference": "Patient/ExampleWomenStillbirthED"
                    }
                ],
                "recorded": "2026-02-12",
                "agent": [
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/AgentTypeProvenance",
                                    "code": "organization"
                                }
                            ]
                        },
                        "who": {
                            "reference": "Organization/{{OrganizationId}}",
                            "display": "Открытое акционерное общество \"Агентство сервисизации и реинжиниринга\""
                        }
                    },
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/AgentTypeProvenance",
                                    "code": "practitioner"
                                }
                            ]
                        },
                        "who": {
                            "reference": "Practitioner/{{PractitionerId}}",
                            "display": "Филатов Игорь Петрович"
                        }
                    },
                    {
                        "type": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/AgentTypeProvenance",
                                    "code": "practitionerRole"
                                }
                            ]
                        },
                        "who": {
                            "reference": "PractitionerRole/{{PractitionerRole}}",
                            "display": "Врач-кардиохирург"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "Condition/ExampleDiagnosisDepression",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisDepression",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2024-08-08"
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "P20.9",
                            "display": "P20.9 - Внутриутробная гипоксия неуточненная"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/ExampleWomenStillbirthED",
                    "display": "Петр Сидорович Иванов"
                },
                "onsetDateTime": "2024-08-08",
                "recordedDate": "2024-08-08"
            }
        },
        {
            "fullUrl": "Condition/ExampleDiagnosisDiabet",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisDiabet",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2024-08-08"
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "P02.7",
                            "display": "P02.7 - Поражения плода и новорожденного, обусловленные хориоамнионитом"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/ExampleWomenStillbirthED",
                    "display": "Петр Сидорович Иванов"
                },
                "onsetDateTime": "2024-08-08",
                "recordedDate": "2024-08-08"
            }
        },
        {
            "fullUrl": "Condition/ExampleDiagnosisVeins05",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisVeins05",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2024-08-08"
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "P02.1",
                            "display": "P02.1 - Поражения плода и новорожденного, обусловленные другими осложнениями, связанными с отделением плаценты и кровотечением"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/ExampleWomenStillbirthED",
                    "display": "Петр Сидорович Иванов"
                },
                "onsetDateTime": "2024-08-08",
                "recordedDate": "2024-08-08"
            }
        },
        {
            "fullUrl": "Condition/ExampleDiagnosisVeins",
            "resource": {
                "resourceType": "Condition",
                "id": "ExampleDiagnosisVeins",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/FinalDiagnosis"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/KindOfDiagnosis",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/KindOfDiagnosisCode",
                                    "code": "Final"
                                }
                            ]
                        }
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/AssertedDate",
                        "valueDateTime": "2024-08-08"
                    }
                ],
                "clinicalStatus": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.by/ValueSet/InternClassificDiseases10",
                            "code": "O14.1",
                            "display": "O14.1 - Тяжелая преэклампсия"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/ExampleWomenStillbirthED",
                    "display": "Петр Сидорович Иванов"
                },
                "onsetDateTime": "2024-08-08",
                "recordedDate": "2024-08-08"
            }
        },
        {
            "fullUrl": "ClinicalImpression/ExampleStillbirth",
            "resource": {
                "resourceType": "ClinicalImpression",
                "id": "ExampleStillbirth",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/Stillbirth"
                    ]
                },
                "extension": [
                    {
                        "url": "https://fhir.by/StructureDefinition/AgeOfDeath",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/AgeOfDeath",
                                    "code": "01",
                                    "display": "мертворожденный"
                                }
                            ]
                        }
                    },
                    {
                        "url" : "https://fhir.by/StructureDefinition/GenderStillbirth",
                        "valueCodeableConcept" : {
                            "coding" : [
                                {
                                    "system" : "https://fhir.by/ValueSet/administrative-gender",
                                    "code" : "male",
                                    "display" : "Мужской"
                                }
                            ]
                        }
                    },
                    {
                        "url" : "https://fhir.by/StructureDefinition/DateTimeStillbirth",
                        "valueDateTime" : "2026-02-09T04:30:21Z"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://fhir.by/StructureDefinition/PlaceInMedicalOrganization",
                                "valueReference": {
                                    "reference": "Organization/{{OrganizationId}}"
                                }
                            },
                            {
                                "url": "https://fhir.by/StructureDefinition/PlaceOfDeathByCode",
                                "valueCodeableConcept": {
                                    "coding": [
                                        {
                                            "system": "https://fhir.by/ValueSet/PlaceOfDeathByCode",
                                            "code": "3",
                                            "display": "в организации здравоохранения, оказывающей медицинскую помощь"
                                        }
                                    ]
                                }
                            }
                        ],
                        "url": "https://fhir.by/StructureDefinition/PlaceOfDeath"
                    },
                    {
                        "url": "https://fhir.by/StructureDefinition/EstablishmentOfCauseOfDeath",
                        "valueCodeableConcept": {
                            "coding": [
                                {
                                    "system": "https://fhir.by/ValueSet/EstablishmentOfCauseOfDeath",
                                    "code": "3",
                                    "display": "вскрытия"
                                }
                            ]
                        }
                    }
                ],
                "identifier": [
                    {
                        "system": "https://minzdrav.gov.by",
                        "value": "12-123456789-2025000000000001",
                        "assigner": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    }
                ],
                "status": "completed",
                "subject": {
                    "reference": "Patient/ExampleWomenStillbirthED"
                },
                "date": "2026-02-10T05:35:21Z",
                "performer": {
                    "reference": "PractitionerRole/{{PractitionerRole}}"
                },
                "finding": [
                    {
                        "item": {
                            "concept": {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDeathReason",
                                        "code": "DirectlyDeathReason",
                                        "display": "Непосредственная причина смерти (мертворождения) - заболевание или состояние, непосредственно приведшее к смерти"
                                    }
                                ]
                            },
                            "reference": {
                                "reference": "Condition/ExampleDiagnosisDepression",
                                "display": "P20.9 - Внутриутробная гипоксия неуточненная"
                            }
                        }
                    },
                    {
                        "item": {
                            "concept": {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDeathReason",
                                        "code": "ConditionsForDirectlyDeathReason",
                                        "display": "Патологические состояния (заболевания), вызвавшие или обусловившие непосредственную причину смерти (мертворождения)"
                                    }
                                ]
                            },
                            "reference": {
                                "reference": "Condition/ExampleDiagnosisDiabet",
                                "display": "P02.7 - Поражения плода и новорожденного, обусловленные хориоамнионитом"
                            }
                        }
                    },
                    {
                        "item": {
                            "concept": {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDeathReason",
                                        "code": "MainDeathReason",
                                        "display": "Основная причина смерти (мертворождения) - первоначальное заболевание или состояние"
                                    }
                                ]
                            },
                            "reference": {
                                "reference": "Condition/ExampleDiagnosisVeins05",
                                "display": "P02.1 - Поражения плода и новорожденного, обусловленные другими осложнениями, связанными с отделением плаценты и кровотечением"
                            }
                        }
                    },
                    {
                        "item": {
                            "concept": {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDeathReason",
                                        "code": "OtherCondition",
                                        "display": "Прочие важные состояния, сопутствующие смерти (мертворождению), но не связанные с заболеванием или патологическим состоянием, приведшим к ней"
                                    }
                                ]
                            },
                            "reference": {
                                "reference": "Condition/ExampleDiagnosisVeins"
                            }
                        }
                    },
                    {
                        "item": {
                            "concept": {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDeathReason",
                                        "code": "MotherDeathCondition",
                                        "display": "Основное заболевание или состояние матери (последа), оказавшее неблагоприятное влияние на ребенка (плод)"
                                    }
                                ]
                            },
                            "reference": {
                                "reference": "Condition/ExampleDiagnosisVeins",
                                "display": "O14.1 - Тяжелая преэклампсия"
                            }
                        }
                    },
                    {
                        "item": {
                            "concept": {
                                "coding": [
                                    {
                                        "system": "https://fhir.by/ValueSet/TypeOfDeathReason",
                                        "code": "OtherMotherConditions",
                                        "display": "Другие заболевания или состояния матери (последа), оказавшие неблагоприятное влияние на ребенка (плод)"
                                    }
                                ]
                            },
                            "reference": {
                                "reference": "Condition/ExampleDiagnosisVeins",
                                "display": "O10.1 - Существовавшая ранее кардиоваскулярная гипертензия, осложняющая беременность, роды и послеродовой период"
                            }
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "QuestionnaireResponse/QRMotherSpecialInformation",
            "resource": {
                "resourceType": "QuestionnaireResponse",
                "id": "QRMotherSpecialInformation",
                "meta": {
                    "profile": [
                        "https://fhir.by/StructureDefinition/QRSpecialInformation"
                    ]
                },
                "identifier": [
                    {
                        "system": "https://minzdrav.gov.by",
                        "value": "12-123456789-2025000000000001",
                        "assigner": {
                            "reference": "Organization/{{OrganizationId}}"
                        }
                    }
                ],
                "questionnaire": "https://fhir.by/Questionnaire/QMotherSpecialInformation",
                "status": "completed",
                "subject": {
                    "reference": "Patient/ExampleWomenStillbirthED"
                },
                "authored": "2026-02-10T05:35:21Z",
                "author": {
                    "reference": "PractitionerRole/{{PractitionerRole}}"
                },
                "item": [
                    {
                        "linkId": "1",
                        "text": "Образование матери",
                        "answer": [
                            {
                                "valueCoding": {
                                    "system": "https://fhir.by/ValueSet/MotherEducation",
                                    "code": "high",
                                    "display": "Высшее"
                                }
                            }
                        ]
                    },
                    {
                        "linkId": "2",
                        "text": "Семейное положение матери",
                        "answer": [
                            {
                                "valueCoding": {
                                    "system": "https://fhir.by/ValueSet/MotherMaritalStatus",
                                    "code": "married",
                                    "display": "состоит в браке"
                                }
                            }
                        ]
                    },
                    {
                        "linkId": "3",
                        "text": "Ребенок родился",
                        "answer": [
                            {
                                "valueCoding": {
                                    "system": "https://fhir.by/ValueSet/ConditionsOfBirth",
                                    "code": "single_birth",
                                    "display": "при одноплодных родах"
                                }
                            }
                        ]
                    },
                    {
                        "linkId": "4",
                        "text": "Номер настоящей беременности",
                        "answer": [
                            {
                                "valueInteger": 2
                            }
                        ]
                    },
                    {
                        "linkId": "5",
                        "text": "Номер настоящих родов",
                        "answer": [
                            {
                                "valueInteger": 2
                            }
                        ]
                    },
                    {
                        "linkId": "6",
                        "text": "Дата первого дня последней менструации",
                        "answer": [
                            {
                                "valueDate": "2025-01-02"
                            }
                        ]
                    },
                    {
                        "linkId": "7",
                        "text": "Срок настоящей беременности в днях",
                        "answer": [
                            {
                                "valueInteger": 210
                            }
                        ]
                    },
                    {
                        "linkId": "8",
                        "text": "Число родившихся живыми детей от беременностей, предшествовавших настоящей",
                        "answer": [
                            {
                                "valueInteger": 1
                            }
                        ]
                    },
                    {
                        "linkId": "9",
                        "text": "Число мертворождений, имевших место при предшествовавших беременностях",
                        "answer": [
                            {
                                "valueInteger": 0
                            }
                        ]
                    },
                    {
                        "linkId": "10",
                        "text": "Число самопроизвольных абортов (выкидышей) и абортов, произведенных по медицинским и социальным показаниям",
                        "answer": [
                            {
                                "valueInteger": 0
                            }
                        ]
                    },
                    {
                        "linkId": "11",
                        "text": "Число прерываний беременности, включая число искусственных медицинских абортов и вакуум-аспираций",
                        "answer": [
                            {
                                "valueInteger": 0
                            }
                        ]
                    },
                    {
                        "linkId": "12",
                        "text": "Число живых к настоящему моменту детей у матери",
                        "answer": [
                            {
                                "valueInteger": 1
                            }
                        ]
                    },
                    {
                        "linkId": "13",
                        "text": "Дата окончания последней из беременностей, предшествовавших настоящей",
                        "answer": [
                            {
                                "valueDate": "2021-02-27"
                            }
                        ]
                    },
                    {
                        "linkId": "14",
                        "text": "Данные об исходе последней беременности, предшествовавшей настоящей",
                        "answer": [
                            {
                                "valueCoding": {
                                    "system": "https://fhir.by/ValueSet/PregnancyOutcome",
                                    "code": "02",
                                    "display": "Роды мертвым плодом"
                                }
                            }
                        ]
                    },
                    {
                        "linkId": "15",
                        "text": "Масса тела ребёнка при рождении (в граммах)",
                        "answer": [
                            {
                                "valueInteger": 2100
                            }
                        ]
                    }
                ]
            }
        }
    ]
}